﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Imageo.bintje;
using log4net;
using System.Threading;

namespace Imageo.ui
{
    public partial class TrailSearch2Img : System.Web.UI.Page
    {
        private static readonly ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);

        int proUserId = 0;

        protected void Page_Load(object sender, EventArgs e)
        {
            int proUserId = 0;
            string strProUserId = Request.QueryString["prouserid"];

            if (!string.IsNullOrEmpty(strProUserId))
            {
                if (!int.TryParse(strProUserId, out proUserId))
                {
                    Response.Redirect("~/UI/ProErrorGeneric.aspx");
                }
            }

            if (proUserId > 0)
            {
                // We have a professional user here
            }

            trailBox.initPaths(this);
        }
    }
}
